package com.labichaoka.chaoka.ui.baseinfo.hand;

import com.labichaoka.chaoka.entity.BaseResponse;
import com.labichaoka.chaoka.entity.IDCardRequest;
import com.labichaoka.chaoka.entity.IDCardResponse;
import com.labichaoka.chaoka.entity.RealNameRequest;

/**
 * Created by ruan on 2018/8/8.
 */

public interface HandImgInteractor {
    interface OnUploadFinishedListener{
        void onUploadSuccessed(BaseResponse response);
        void onUploadFailed();

        void onQueryIDCardSuccessed(IDCardResponse response);
        void onQueryIDCardFailed();

        void onResetRealNameSuccessed(BaseResponse response);
        void onResetRealNameFailed();

        void onResetCardIdSucc(BaseResponse response);
        void onResetCardIdFailed();
    }

    void uploadFile(IDCardRequest request, OnUploadFinishedListener listener);

    void onQueryIDCard(OnUploadFinishedListener listener);

    void resetRealName(RealNameRequest realNameRequest, OnUploadFinishedListener listener);

    void resetCardId(OnUploadFinishedListener listener);
}
